package com.cybertron.ironhide.manage.action;

import java.util.List;

import javax.annotation.Resource;

import com.cybertron.ironhide.manage.common.base.BaseAction;
import com.cybertron.ironhide.manage.domain.SeedTask;
import com.cybertron.ironhide.manage.service.SeedTaskService;

public class SeedTaskAction extends BaseAction {

	/**
	 * 
	 */
	private static final long serialVersionUID = -1048827133221889185L;

	@Resource
	private SeedTaskService seedTaskService;

	private List<SeedTask> seedTasks;

	private SeedTask seedTask;

	public String list() {
		seedTasks = seedTaskService.selectBySelective(seedTask, pager);
		return LIST;
	}

	public List<SeedTask> getSeedTasks() {
		return seedTasks;
	}

	public void setSeedTasks(List<SeedTask> seedTasks) {
		this.seedTasks = seedTasks;
	}

	public SeedTask getSeedTask() {
		return seedTask;
	}

	public void setSeedTask(SeedTask seedTask) {
		this.seedTask = seedTask;
	}

}
